<%@ tag dynamic-attributes="atts" 
%><%@ tag body-content="empty" 
%><%@ attribute name="id" required="true"  
%><%@ attribute name="label" required="false"  
%><%@ attribute name="value" required="false"  
%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" 
%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" 
%><c:if test="${!empty value}" > <c:set var="svalue" value="value='${value}'" /> </c:if
><c:if test="${!empty label}" >
<label ${sclass} for="${id}">${label}</label></c:if
><input type="text" id="${id}" name="${id}" ${svalue} <c:forEach var="at" items="${atts}"> ${at.key}='${at.value}' </c:forEach> />